package com.kyh.sys.entity;

import java.util.Date;

import javax.persistence.Table;

import com.kyh.annotation.Model;
import com.kyh.entity.base.BaseEntity;

/**
*/
@Table(name="information_schema.tables", catalog="table_name")
public class Tables extends BaseEntity<Tables> {

	@Model(nameTable="tableSchema")
	private String tableSchema; // 数据库名称
	@Model(nameTable="tableName")
	private String tableName; // 表名
	@Model(nameTable="tableType")
	private String tableType; // 表类型
	@Model(nameTable="engine")
	private String engine; // 表驱动类型
	@Model(nameTable="version")
	private Long version; // 表版本号
	@Model(nameTable="rowFormat")
	private String rowFormat; // 表格式
	@Model(nameTable="avgRowLength")
	private Long avgRowLength; // 
	@Model(nameTable="dataLength")
	private Long dataLength; // 
	@Model(nameTable="maxDataLength")
	private Long maxDataLength; // 
	@Model(nameTable="indexLength")
	private Long indexLength; // 
	@Model(nameTable="dataFree")
	private Long dataFree; // 
	@Model(nameTable="autoIncrement")
	private Long autoIncrement; // 
	@Model(nameTable="createTime",type=Model.TYPE.DATE, format="yyyy-MM-dd HH:mm:ss")
	private Date createTime; // 
	@Model(nameTable="updateTime",type=Model.TYPE.DATE, format="yyyy-MM-dd HH:mm:ss")
	private Date updateTime; // 
	@Model(nameTable="checkTime",type=Model.TYPE.DATE, format="yyyy-MM-dd HH:mm:ss")
	private Date checkTime; // 
	@Model(nameTable="tableCollation")
	private String tableCollation; // 表编码
	@Model(nameTable="checksum")
	private Long checksum; // 
	@Model(nameTable="createOptions")
	private String createOptions; // 
	@Model(nameTable="tableComment")
	private String tableComment; // 表注释
	@Model(nameTable="blockFormat")
	private String blockFormat; // 

	public String getTableSchema() {
		return tableSchema;
	}
	public Tables setTableSchema(String tableSchema) {
		this.tableSchema = tableSchema;
		return this;
	}
	public String getTableName() {
		return tableName;
	}
	public Tables setTableName(String tableName) {
		this.tableName = tableName;
		return this;
	}
	public String getTableType() {
		return tableType;
	}
	public Tables setTableType(String tableType) {
		this.tableType = tableType;
		return this;
	}
	public String getEngine() {
		return engine;
	}
	public Tables setEngine(String engine) {
		this.engine = engine;
		return this;
	}
	public Long getVersion() {
		return version;
	}
	public Tables setVersion(Long version) {
		this.version = version;
		return this;
	}
	public String getRowFormat() {
		return rowFormat;
	}
	public Tables setRowFormat(String rowFormat) {
		this.rowFormat = rowFormat;
		return this;
	}
	public Long getAvgRowLength() {
		return avgRowLength;
	}
	public Tables setAvgRowLength(Long avgRowLength) {
		this.avgRowLength = avgRowLength;
		return this;
	}
	public Long getDataLength() {
		return dataLength;
	}
	public Tables setDataLength(Long dataLength) {
		this.dataLength = dataLength;
		return this;
	}
	public Long getMaxDataLength() {
		return maxDataLength;
	}
	public Tables setMaxDataLength(Long maxDataLength) {
		this.maxDataLength = maxDataLength;
		return this;
	}
	public Long getIndexLength() {
		return indexLength;
	}
	public Tables setIndexLength(Long indexLength) {
		this.indexLength = indexLength;
		return this;
	}
	public Long getDataFree() {
		return dataFree;
	}
	public Tables setDataFree(Long dataFree) {
		this.dataFree = dataFree;
		return this;
	}
	public Long getAutoIncrement() {
		return autoIncrement;
	}
	public Tables setAutoIncrement(Long autoIncrement) {
		this.autoIncrement = autoIncrement;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public Tables setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public Tables setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}
	public Date getCheckTime() {
		return checkTime;
	}
	public Tables setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
		return this;
	}
	public String getTableCollation() {
		return tableCollation;
	}
	public Tables setTableCollation(String tableCollation) {
		this.tableCollation = tableCollation;
		return this;
	}
	public Long getChecksum() {
		return checksum;
	}
	public Tables setChecksum(Long checksum) {
		this.checksum = checksum;
		return this;
	}
	public String getCreateOptions() {
		return createOptions;
	}
	public Tables setCreateOptions(String createOptions) {
		this.createOptions = createOptions;
		return this;
	}
	public String getTableComment() {
		return tableComment;
	}
	public Tables setTableComment(String tableComment) {
		this.tableComment = tableComment;
		return this;
	}
	public String getBlockFormat() {
		return blockFormat;
	}
	public Tables setBlockFormat(String blockFormat) {
		this.blockFormat = blockFormat;
		return this;
	}
}